package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.cabinet.model.response.CellInventoryInoutVO;
import com.wing.common.utils.JsonResult;
import com.wing.common.utils.PageResult;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CabinetFormService {


    /*
     * app起*/

    HashMap queryNewInfo(String code);

    HashMap queryNewTwo(String type,String code);

    HashMap queryExistInfo(Integer categoryType);

    HashMap queryOtherInfo(String type,String code);
	
	HashMap queryInNum(String type,String code);

    List<HashMap> queryCabinetByNameInfo(String type,String code);

    List<HashMap> queryCabinetByTypeInfo(String type,String code);

    List<HashMap> queryCabinetByMachineInfo(String type,String code);

    /*
     * app止*/


    /*
     * pc起*/


    JsonResult list1(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult newFirstChart(String type, String startTime, String endTime, String other, String param, String code, String mainCabCode);
    JsonResult newSecondChart(String type, String startTime, String endTime, String cabCode, String param, String code, String mainCabCode);
    JsonResult newThirdChart(String type, String startTime, String endTime, String other, String param, String code, String mainCabCode);
    JsonResult newFourthChart(String type, String startTime, String endTime, String param, String code, String mainCabCode);

    JsonResult list2(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult inFirstChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult inSecondChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult inThirdChart(String type, String startTime, String endTime, String code, String mainCabCode);

    JsonResult list3(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult outFirstChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult outSecondChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult outThirdChart(String type, String startTime, String endTime, String code, String mainCabCode);

    JsonResult list4(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult checkFirstChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult checkSecondChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult checkThirdChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult checkFourthChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult checkFifthChart(String type, String startTime, String endTime, String code, String mainCabCode);

    JsonResult list5(String type, String dateType, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult repairFirstChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult repairSecondChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult repairThirdChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult repairFourthChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult repairFifthChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);

    JsonResult list6(String type, String dateType, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult recycleFirstChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult recycleSecondChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult recycleThirdChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult recycleFourthChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    JsonResult recycleFifthChart(String type, String dateType, String startTime, String endTime, String code, String mainCabCode);
    /**
     * 报修|报废统计(按天)
     * @param code
     * @param param
     * @param businessTypeChecked
     * @return
     */
    JsonResult getSpecStatisticsByDay(String code, String param, Integer businessTypeChecked);

    /**
     * 报废|报修物料规格型号占比
     * @param type
     * @param startTime
     * @param endTime
     * @param code
     * @param mainCabCode
     * @param param
     * @return
     */
    JsonResult getSpecMaterialModelComparison(String type, String dateType, String startTime, String endTime, String code, String mainCabCode, String param,Integer businessType);

    JsonResult list7(String type,String dateType, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult unusualFirstChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult unusualSecondChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult unusualThirdChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult unusualFourthChart(String type, String startTime, String endTime, String code, String mainCabCode);
    JsonResult unusualFifthChart(String type, String startTime, String endTime, String code, String mainCabCode);

    JsonResult list8(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult sellFirstChart(String type, String startTime, String endTime, String other, String code, String mainCabCode);
    JsonResult sellSecondChart(String type, String startTime, String endTime, String cabCode, String code, String mainCabCode);

    JsonResult list9(String type, String startTime, String endTime, int click, String code, String mainCabCode);
    JsonResult storeFirstChart(String type, String startTime, String endTime, String other, String code, String mainCabCode);
    JsonResult storeSecondChart(String type, String startTime, String endTime, String cabCode, String code, String mainCabCode);
    JsonResult storeThirdChart(String type, String startTime, String endTime, String other, String code, String mainCabCode);

    JsonResult list0(String type, String startTime, String endTime, int click,String code);
    JsonResult useFirstChart(String type, String startTime, String endTime, String other,String code);
    JsonResult useSecondChart(String type, String startTime, String endTime, String other,String code);

    JsonResult list11(String type, String startTime, String endTime,  int click, String code);
    JsonResult list12(String type, String dateType, String startTime, String endTime,  int click, String code, String mainCabCode);
    JsonResult lossFirstChart(String type, String startTime, String endTime, String other, String code);
    JsonResult lossSecondChart(String type, String startTime, String endTime, String other, String code);

    PageResult data1(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data2(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data3(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data4(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data5(String type, String dateType, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data6(String type, String dateType, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data7(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data8(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data9(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);
    PageResult data0(String type, String startTime, String endTime, Integer page, Integer limit, String sort, String order);


    JsonResult storeFourChart(String type, String enterpriseCode);

    JsonResult queryFirstCabinetTop(String enterpriseCode);

    JsonResult queryFirstCabinetMiddle(String enterpriseCode);

    JsonResult querySecondCabinetBoard(String type, String createTime,String enterpriseCode);

    JsonResult queryCabinetStatistics(String type, String click, String startTime, String endTime,String mainCabCode);

    JsonResult queryTeleplayBoard(String type);

    JsonResult queryCabinetConsume(String type, String startTime, String endTime,String mainCabCode);

    JsonResult queryCabinetMoney(String type, String startTime, String endTime,String mainCabCode);

    Page<CellInventoryInoutVO> queryCabinetList(Page page, Map<String, Object> params,String type);

    JsonResult recycleSixthChart(String type, String dateType, String startTime, String endTime,String brandId, String devCode,String mainCabCode,int businessType);



}
